import request from "@/utils/request";

const GENERATOR_BASE_URL = "/client";

// 定义接口参数类型
export interface FoodManagementParams {
  pageNum?: number;
  pageSize?: number;
}

export const FoodAPI = {
  /** 获取食品管理列表 */
  getFoodManagementList(params: FoodManagementParams) {
    return request<PageResult<any[]>>({
      url: `${GENERATOR_BASE_URL}/auth/ship/business/list`,
      method: "get",
      params, // 使用params传递GET参数
    });
  },
};

export default FoodAPI;

export interface otherBusiness {}
